<template>
	<view>
		<image v-for="(item,index) in img" :src="item" mode="widthFix" @click="$app.showImg(img,index)"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				img:''
			}
		},
		onLoad({img}) {
			this.img = img.split(',')
		}
	}
</script>

<style>
	image{
		display: block;padding: 10rpx;width: 100%;box-sizing: border-box;
	}
</style>
